#!/bin/sh
for file in `find appendix background tutorial reference -name '*.xml'`
do
  sed -i '/<?xml/,/xmlns:ns=/d' $file
  sed -i '/^<\/article>$/d' $file
done
